<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" type="text/css" href="./index.css" />
  <title>grid布局--写代码的浩</title>
</head>
<body>
  <!-- <h2>Grid简单例子</h2>
  <div class="grid-box-1">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
  </div>
  <br />
  <h2>Grid 隐式网格</h2>
  <div class="grid-box-2">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6</div>
    <div>7</div>
    <div>8</div>
    <div>9</div>
    <div>10</div>
    <div>11</div>
  </div><br />
  <h2>Grid 占多行多列</h2>
  <div class="grid-box-3">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6</div>
  </div><br />
  <h2>Grid gap间距</h2>
  <div class="grid-box-4">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6</div>
  </div><br />
  <h2>Grid 网格项目重叠</h2>
  <div class="grid-box-5">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6</div>
  </div><br />
  <h2>Grid 容器尺寸不固定，自动填充子元素</h2>
  <div class="grid-box-6">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6</div>
    <div>7</div>
    <div>8</div>
    <div>9</div>
    <div>10</div>
    <div>11</div>
    <div>12</div>
  </div><br />
  <h2>Grid 网格线命名</h2>
  <div class="grid-box-7">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6</div>
  </div><br />
  <h2>Grid 模板区域</h2>
  <div class="grid-box-8">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
  </div><br />
  <h2>Grid 布局算法</h2>
  <div class="grid-box-9">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6</div>
    <div>7</div>
  </div><br /> -->
  <h2>Grid 对齐</h2>
  <div style="margin-left: 20px;width: 200px;text-align: center;">
    节点1 justify-self: end;
  </div>
  <div class="grid-box-10">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
  </div><br />
  <script src="./index.js"></script>
</body>
</html>
